<?php

include './cc.php';
   class dd extends cc{
   
    public function show()
    {
       echo "dd ... show ...";        
    }

    
    public static function say(){
        echo "dd .. say";
    }
    
    function __construct(){
        parent::__construct();
    }
    
    /* function __destruct(){
     //   echo "(destroy)";
    } */
   }
   
   
//    $dd = new dd();
//    $dd->show();
//    $dd::say();
   
   
   $arr = array('a'=>'aa','b'=>'bb','c'=>'cc');
   
   $json = json_encode($arr);
   echo $json;
   
   $j = json_decode($json,true);
   
   print_r($j);
   
   echo $j['c'];
   
   
   
   